//
//  VMCIndexApi.h
//  vmcshop
//
//  Created by toggle on 15/6/26.
//  Copyright (c) 2015年 idongler. All rights reserved.
//

#import "VMCApi.h"

@interface VMCIndexApi : VMCApi

+(instancetype) sharedInstance;
/**
 *  根据会员ID请求数据
 *
 *  @param ID       会员ID
 *  @param method   方法名
 *  @param callback 回调
 */
-(void)postWithMemberId:(NSString *)ID withMethodName:(NSString *)method callback:(API_CALLBACK)callback;
/**
 *  通用接口
 *
 *  @param dic      参数字典
 *  @param method   方法名
 *  @param callback 回调
 */
-(void)postGeneralWithDictionary:(NSDictionary *)dic withMethodName:(NSString *)method callback:(API_CALLBACK)callback;

@end
